Text this: Derivation, verification and validation of a length correction factor for folded quarter-wavelength resonators