Fixed issue with line endings on Windows. Added more support for floats.