Fixed rounding bug, now it should round just fine