fix the bug for in neuron outlier detection

Fix the indexing problem in in neuron outlier detection function