Phi=[1.0000    0.1813
         0    0.8187]
Gamma=[    0.0187
    0.1813]
Omega=[1,0;0,0.2]
D=[1,0]
Q=[0.0001,0;0,0.04]
R=[0.0025];
[L,M,P,Egen] = dlqe(Phi,Omega,D,Q,R)