Major update - adaptive sampling for Lsm, Lms and partially Lmm added