changed signature of batch predict to return mutablerowmatrix