A systematic MEMS sensor calibration framework