bug fixes, MOD replaced with reciprocal of N, unit test for jenkins3, README.md edits