Corrected gradient tracking line angle to be perpindicular.