IEnumerator startFit() { for (int i = 0; i < numberOfIterations; i++) { yield return(new WaitForSeconds(5.0f)); kMeans.Next(); UpdateSpheres(); } }