modify PNMmain.cpp for testing lognormal distribution function.