added analytic calculation of time constants