Some refactoring for MLP code, added no k DPP sampling