Applications of Copula Theory and Regime Switching in Finance