public int CreateNewNode()
{
int index = this.GetFreeIndex();
this.Nodes[index].LogProbability = 0.0;
this.Nodes[index].LogKt = 0.0;
this.Nodes[index].NumberOf0S = 0;
this.Nodes[index].NumberOf1S = 0;
this.Nodes[index].Child1 = -1;
this.Nodes[index].Child0 = -1;
return index;
}