actfns
a list, which contains the numeric code
of the activation functions, or the activation function itself. The length of the vector must be
the same as the length of the neurons vector, and each element of the vector must be between 1 and 4 or a func
layer
the number of the layer as far as the function is calculating. If the value is NaN, the function will calculate till the output layer.
It can be useful if you need the output of one of the hidden layers.