Added functions for numerical comparison.
Reworked based on Hannes' comments, added unit tests
Cleaned up includes
Merge pull request #35 from pfankhauser/master

Added functions for numerical comparison.