Fixed bug in IsoMap.