bugfix isomap/cluster functions