lcor function

Rearrange elements in each column of a data-frame to fit a predefined correlation matrix