separated lkgrid.cpp from likelihood_field_cpp