Compositions of Trigonometric Functions