What are the dimensional requirements for matrix multiplication?