in response to #102, removed the +1 and updated the unit tests to test against manual computations on the example from the readme.