6.1 compatibility

Fixed float issue and nsstring issue that was keeping the project from
building on 6.1
fix for y values
Merge pull request #17 from Softwave/master

6.1 compatibility