Improved gauge's accuracy

Improvement for emoncms/emoncms#226
Merge pull request #237 from Greblys/master

Improved gauge's accuracy