Changed the ifdef to SMALLMATHLIB_...
Moved all source files into a source/ directory.  Added CMake build system.