Fix - direct mode: funcs on connections

Function output with both lists and scalar output
for connections now work with the network arrays.
- updated direct mode test