dot-check_optim_conv function

Check whether the optimisation of distribution parameters has converged to stable value for the parameters and function output for multiple iterations