protected void ClearState() { Array.Clear(WeightedInputs, 0, Length); Array.Clear(Output, 0, Length); }