pypy and no numpy, optimizations in predict()