debugging determinant and factorization
fixed computation of S e^(-log(m2latt*(1+0.5*\phi^2)))