TAP tutorial + LDA bugfixes