Fix issues when spacing is not a multiple of base spacing
Added unit tests and fixed failures
Fix failure with old versions of Numpy
Merge pull request #73 from astrofrog/minor-fixes-formatter-rounding

Fix issues when spacing is not a multiple of base spacing