RM: Removed second import math.