Enhancement of the anomalous Hall effect by distorting the Kagome lattice in an antiferromagnetic material