Computes the cdf at j using a recursive (iterative) algorithm using logarithms
the CDF value
the value to evaluate
the mean