Two step Runge-Kutta-Nystrom methods based on algebraic polynomials