Reorder operations in Distribution.reduce()
Fix distribution, and ensure reduced distributions are consistent.
Initial working version of sum() with axis support.