Calculation of the cross sections of electron interaction with matter