merge_nets function

Merges and replicates the arcs in the static BN into all the time-slices in the DBN