A new algorithm for shape parameter optimization in the multiquadric method for bending beam and elastic plane BVPs