Imported `math` module and added it as the class to a funtion.