Reverted back to using the native standard library implementation of sine, cosine, and tangent as the optimizing compiler is a much smarter creature than I.