Added trigonometric functions support