Removed lots of errors in lots of files and added INF, INFINITY, and NAN
conditional macros.