Principles of Copula Theory