WIP: untested implementation of fixed LDA