added features to sjp.reglin and sjp.lm.ma