predict_seq function

Run the node-forward function on a sequence of data