Function that calculates the position of the rotation axis starting from a sinogram