spherical_cal function

Deduce the calibration constants