Added sum, diff, and running diff methods.