Integration of Trigonometric functions