Fix shape checking on n in predict. Remove redundant test on Xstar in predict.