Implemented neuronal output function