Complete pakeage for calculating permittivity