removed the sensor data calculate method to the sensor.js file.
Merge remote-tracking branch 'origin/master'