Anisotropic and magnetooptic waveguide numerical analysis