Fixed numerical comparisons.  Added some formatting.
Merge pull request #27 from carterpage/fix_longs

Fixed numerical comparisons.  Added some formatting.