matrix multiplication using 2 maps and dot-product