Template for parallelizing predicting across b values.