only return lda model if it exists
Merge branch 'master' into lots-more-features