Application of Regime Switching And Random Matrix Theory For Portfolio Optimization