modified grid_search for parameters of moisture model to slide across the parameter space