bugfix in isomap functions