Profile LDA
Small fixes