array storing neuron indices (neurons are thought
to be sorted in ascending mode from inputs to outputs,
i.e. hidden neurons have indices from <ninputs> to
<ninputs + nhiddens>). Moved the update of the number
of neurons in the setParameters() function. Modified
other functions too.