reduceGRiwrm function

Reduce the size of a GRiwrm by selecting the subset of nodes corresponding to a downstream node