var x = Vector<double>.Build.Random(1500);
var y = Vector<double>.Build.Random(1500);
double mse1 = Distance.MSE(x,y);
double mse2 = (x-y).PointwisePower(2).Sum()/x.Count;
double mse3 = x.Fold2((s,a,b) =>s+Math.Pow(a-b,2),0.0,y)/x.Count;
double mse4 = Math.Pow((x-y).L2Norm(),2.0)/x.Count;
var randomGenerator = new MersenneTwister(42);
and var Win = M.Random(resSize, resSize, new ContinuousUniform(-0.5, 0.5, randomGenerator));