calc_probs now working in a sort of demo mode