public void GPeriods()
 {
     double[] m1 = new double[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 };
     double[] m2 = new double[] { 1, 2, 3, 4, 5, 6 };
     double[] m3 = new double[] { 1, 2, 3, 1, 2, 3 };
     double[] m4 = new double[] { 1, 1, 1, 1, 2, 1, 1, 1, 1, 2 };
     Expendator.GetPeriod(m1).Show();
     Expendator.GetPeriod(m2).Show();
     Expendator.GetPeriod(m3).Show();
     Expendator.GetPeriod(m4).Show();
 }