WMinkowskiDistance corrections to error messages and docstring
improvement