Cleaned up some stuff. Now debugging multinomial latent logistic regression.