public void DrawCurve(IKrigingModel method)
        {
            double maxDist = spatial.GetDistancesValues().Max()/ 150;
            double[] dist = new double[150];
            double[] sem = new double[150];

            for (int i = 0; i < 150; i++) {
                dist[i] = i * maxDist;
                sem[i] = method.GetValue(dist[i]);
            }
            DrawCurve("Model", dist, sem, Color.Red);


        }
        public void DrawCurve(IKrigingModel method, string name, Color color)
        {
            double maxDist = spatial.GetDistanceStatistic().Max / 150;
            double[] dist = new double[150];
            double[] sem = new double[150];

            for (int i = 0; i < 150; i++)
            {
                dist[i] = i * maxDist;
                sem[i] = method.GetValue(dist[i]);
            }
            DrawCurve(name , dist, sem, color);


        }