fixed sph_hrm function, added new test for it, #1
merged LDA code (no real conflict)