fixed bug with se calculation of prob. curves