Uber primitive matrix multiplication