Integration of Higher Order Trigonometric Functions