Changed "sin" to "\sin" and "cos" to "\cos"