Implemented offset cauchy sums, added more doctests