Robust algorithm associated with a parameterization for the three-parameter lognormal distribution