Improved Moore-Penrose continuation algorithm for the computation of problems with critical points. (June 2023)