generalize the derivs for innerProducts
Change innerProduct to take sigma not tensorType.
write test for invProp and invMat (failing)
implement and test harmonic averaged derivatives
remove tensor type property from problem.