Computerization of a population projection model based on generalized age-dependent branching processes: a connection with the Leslie matrix