Implemented Tangent Function