New modification of Maheshwari's method with optimal eighth order convergence for solving nonlinear equations