An empirically adjusted Newton–Raphson algorithm for finding local minima on molecular potential energy surfaces