Replaced more Python code with C++, added OSIRIS diffspec summing

Refs #10215