Correct computation of old probability
Learning works to some degree, but doesn't seem to find local maximum reliably