Analytical Fit of the Transfer Function of a Logarithmic Electrometer and Correction for Ambient Temperature Variations