fix matrix mult invocations