[python] use Math.round instead of own function