Fixes for header files, floating point trig functions, and incorrect
conversions.