Revert a39f033..c841a3a

This rolls back to commit a39f0334ce8af26d526ef418110e889cf6a62dec.
Added reverse sin, cos functions