Stable O ( N ) recursive boundary mapping for robust parametric analysis of dispersion in 2D N -layered WGM resonators | Synapse