make_histories function

Generates Functions of History of Existing Covariates