Trying to make the Math libary some what working