Partial sum implementation

The tests for `initializer_list`s will need to be deleted.