Correcting errors in Carole_Bonnet2.py