Matrix impedance in the problem of the calculation of synthetic seismograms for a layered-homogeneous isotropic elastic medium