ISODATA — three parameters the user must set.
M — max iterations. Safety limit so the algorithm halts even if T is never reached.