Using Python to design a parametric catastrophic (CAT) bond for hedging and predict its rating