The calculation of secondary defect formation at ion implantation of silicon