updated ISODATA algorithm