This function extends the main function hsaft to create correlation among covariates.
hsaft
Useful links