Discrete and Continuous Lyapunov Equation and Variance-Covariance matrix of MAR and OU process