SMS: Lyapunov functionals and stability of stochastic difference equations