Fix typo in matvec method in matrices module.