Enter two matrices (up to 4x4) to compute their product, or use min-plus multiplication to find shortest paths.