Some simple scripts in Python to estimate Consistent and Inconsistent Long Term Variance