A software package for modelling the dynamics of mid-infrared ultrashort laser pulses in optical systems with CO2 amplifiers