Fix warnings regarding using abs with floating point numbers
Merge pull request #1002 from taketwo/fix-warnings-in-features

Fix warnings regarding using abs with floating point numbers