main.lua: function round(x): changed 0.0005 to 0.5