Shape Optimization of a Rail Joint