removed redundant comments and changed system so each non-input neuron fires only once