Modelling the effect of froth depth in flotation