Cast double -> float fixing compile error in OSX
Merge pull request #29 from vierja/master

Cast double -> float fixing compile error in OSX