Updated sensor.h and added helper Functions for accel and mag sensors