Added mathematical functions to the Point object