Solving degeneracy and stability in nonmetric unfolding