Analysis of Carbon Leakage in an Extended Ricardo-Viner Model