Refs #7270  Added lattice errors to TransformHKL

Factored out common code
Merge branch 'feature/7270_SCDTransformLatErrors' into develop