Make GFlops and matrix work