Small changes to enable compilation with Visual Studio (2008 Express).
In particular include roundf function that is not included in MS C89 like compiler.
Fixed some compile warnings.
Mods to CMakeLists.txt to create a stand alone exe program based on src/main/c/main.c