Coordinates implementation corrected in slices and beams (all
calculation done in theta, and results only are converted)