added some basic maths functions
added some basic maths functions