finished predict.splmm