Playing around with the math library