matmul data and plotting