Correct the gramm matrix made by testing videos