Refs #7270  Added lattice errors to TransformHKL

Factored out common code
Merge remote branch 'origin/feature/7270_SCDTransformLatErrors'