Import math functions from scala.math instead of java.lang.Math