Update stream::train

This needs to be a little more complicated. Retain the project pattern done by
Streams during partial projects by using a timeVarying transform to collect the
output template sets (grouped as they are at the end of the partial stream).