non working project.
changed mag calibration to use the new sphere fit algorythm