derive_covar_distribution function

Derive covariate distribution from covariate data type