private void UpdateRank()
 {
     rank = Reduce.Count(r => r == false); //the sum of non reduced dimensions
 }