Modified the filter-chain.cc test to chain functions like so:
f1:R5->R1
f2:R1->R1
fchain = chain(f1, f2)
Doesn't work