Changed the data types in helpmath and complicated drawnobject functions from int to double to increase the accuracy