apply_cal function

Implement a calibration on tag sensor data