fixed floating point zero issues
Merge branch 'master' of https://github.com/kentmc/P7-Machine-Intelligence