test matrix multiplication as well