Allow integer-based reference values, including zero. Added regression tests for both cases.
Merge pull request #33 from 2fast2fourier/master

Allow integer-based reference values in batch, including zero.