Modelling of thermoset matrix composite curing process