removed factors of m2latt from s, detWprimeprime, and action (non-factorization)