Reorganization and start of sum construction...

More to do with the loops. Plan to independently construction the partial derivative method.