refactored compass sensor calibration (and implemented a check if pre
calibration was successful before starting calibration)
Merge branch 'master' of https://github.com/MindstormsNXJ/mindstorms.git