Make reverse and forward predictions feature consistent

Extract location parameter generation from subloops.
Add time parameter generation to reverse prediction.