added includes to the lsqadj.c
fixed a line in CMakeLists.txt to call check_lsqadj