W2_A2_Ex-8 Value error due to shape of the matrix

There is a topic about that on the DLS FAQ Thread.