Add the code for generating the truncated lognormal distribution (return a pointer).