A Method for Measurement of the Permittivity of Thin Samples