STURM-LIOUVILLE MATRIX EQUATION FOR THE STUDY OF ELECTROMAGNETIC-WAVES PROPAGATION IN LAYERED ANISOTROPIC MEDIA