gencovariancemat function

Function that generates a covariance matrix taking as input a correlation matrix and a standard deviation matrix or value.