Most accurate version of ML code, and prelim LDA code