Added an optional ridge term lambda. If lambda > 0, an identity matrix scaled by lambda is added to the covariance matrices of all components both during initialization and estimation to ensure positive definiteness.
lambda
lambda > 0