Tuned diagonal algorithm; now its main prediction alg