Fixes for MDS and Isomap