A Monte-Carlo calculation of the secondary electron emission of normal metals: I. The model