predict.m updated