Make add_dependencies conditional on whether find_package finds GSL and SGP4 libraries or not in main CMakeLists.
Fix error in residual compute-functions (hard-cording std::vector instead of using template parameter caused error in case of using Eigen library).