Implemented Cos() and Tan()