Optimization Strategies of CO2 Injection for Sequestration and EOR