Function added to return position

-function added to return position of the detector in terms of radius,
theta, phi.