The Volterra-Lyapunov matrix theory and nonstandard finite difference scheme to study a dynamical system