W = [3 2; 2 4] d = [4; 3] [c, y] = test_function(W,d)