Algebraic techniques for least squares problems in commutative quaternionic theory. (20th January 2020)