Text this: Mathematical Fundamentals of a Diagnostic Method by Long Nonlinear Waves for the Structured Media