The elimination method applied to analyze wave propagation in multilayer media with randomly distributed layer parameters