Small cleanup
Mostly finished LDA/SLDA interface