BuildATSM_RiskFactors function

Builds the time series of the risk factors that are used in the estimation of the ATSM