Added most MWSE Math commands

Did not include xDistance as I couldn't find another function which takes a ref as an input to base this function off of