Uses the method describes in Maier and De Leeuw (2015) to calculate the
minimum stress configuration for either a given configuration/permutation/order
or for a permutation computed via a seriation method.
The code is similar to uniscale
in smacof, but scales to larger
datasets since it does not check all permutations.