Add offset setting for sensor data to be written to SCU math function. Fix comments in function descriptions.