Scalar Indexing Error: multiplying matrix by scalar

Yes, you are correct. Thank you for your help!