- removed s2 and reused the unit_vector from lsqadj.c to define direction unit vector