As part of my master thesis, my task is to find the optimal parameters to set-up a bow-tie optical parametric oscillator (OPO) for squeezed states generation. I'm currently looking at the possible parameters I can evaluate and I have two very good references on the topic: the first one is the chapter 2.5 of "Fundamentals of Photonics / Quantum Electronics" by Franz X. Kaertner (2006) about ABCD matrices, and the second is exactly what I am trying to look at, "Miniaturization of an Optical Parametric Oscillator with a Bow-Tie Configuration for Broadening a Spectrum of Squeezed Light" by Genta Masada, who gives all the formulas I need for my work.
ABCD matrix is a concept very new to me, and if its construction is not so difficult, I can't see how G. Masada retrieves the expression of waist at the center of the non-linear crystal and the intermediate between the two flat mirrors, respectively notes $w_1$ and $w_2$ as a function of the matrix elements A, B, C and D. The lectures notes by F. X. Kaertner only gives the waist (or "the variations of the beam spot size") as: $$ w(z) = w_0 \left[1 + \left( \frac{z}{z_R}\right)^2\right]^{1/2}$$
with $w_0$ related to the Rayleigh length by $z_R = \pi \frac{w_0^2}{\lambda}$. Kaertner never uses ABCD matrix to express the waist and Masada does not provide calculation details to connect the two (the latter only gives $w_1$ which corresponds to the $w_0$ of Kaertner):
$$ w_2 = w_1 \left[A^2 + (\frac{B}{z_R})^2\right]^{1/2} $$
Similarly, Masada manages to connect the Rayleigh length to the ABCD matrix, but how?