implement node activations for feed forward