Improved speed for CalculateUMatrixTest. Refs #9901
Merge branch 'feature/9901_SlowUnitTest' into develop