Simple Python Routines to Compute Long Term Variance