public double getInput(int position)
{
if (inputs.Count > position)
return inputs[position].input;
else
{
Debug.Log("getInput :try to get input in a too high position");
throw new IndexOutOfRangeException();
}
}
public double getWeigth(int position)