I suggest to prepare a new function for `MathLib::scpr<double,3>(v.getCoords(),v.getCoords())` with an easily understandable name, since the operation is used many times in the codes.