trained the various copulas