correcting values

corrects for long runs of +/- values, corrects to mean rather than widely divergent random paths


pt = 0.5



val = rnd [0 to 1]


if pt > 0.5
	if output = a
		pt = 1 - (1-pt)*0.99
	else
		pt = 1 - (1-pt)*1.01
else
	if output = a
		pt = pt * 1.01
	else
		pt = pt * 0.99


check 0.99, 1.01 for unbiased values
