1. Combined ComputeEbtot, ComputeXxii and ComputeCtcon into one function.
2. Removed all accessor functions, replaced by class scope variables
3. Removed a lot of unnecessary temporary variable creation as a by-product of (2) above.
Still to do:
1. Remove repetitive occurrences of ComputeGradients
2. Remove repetitive occurrences of ArrayToMatrix