Fix matrix operator overloads

Closes #70