Python Matrix Vs Scalar Expression Mismatch When Using

Python Matrix Vs Scalar Expression Mismatch When Using