New technique to measure magnetic anisotropy using the vectorial magneto-optic Kerr effect