VS 2013 has rint()

Change-Id: I6ab759a54ef369e20d93c0767d6a103aabd14faa