A method for generating realistic correlation matrices