Fix issue #80. Numeric algorithms are reversed from postgresql sources.
Cleanup and final fixes for the issue
Merge pull request #81 from DSoftOut/issue-80

Issue 80