Implemented rad and deg functions for converting to and from radians.