fixed predict.splmm for random effects and other bugs