double GetGradient(int x, int y) { rndEngine.Reset(rowSeed[y]); for (int i = 0; i < x; i++) { rndEngine.NextDouble(); } return(rndEngine.NextDouble()); }