Added Some math stuff