Modelling of chemical pulp bleaching