The measurement of anisotropic thermal transport using time-resolved magneto-optical Kerr effect