Improvements to the summations, updated examples