replaced NAs with 0s in the wide dataframe
started program to run the optimization in python
attempted to build feature that would pick the best covariate
function finds the best covariate