Issue94 level calibration

This adds the feature of calibrating the accelerometers using DP.