some formatting went wrong; add all np.random to class.rnd
simplify get minimum loop
more cleaning up predict method
more cleaning