Python Generalized Least Squares Method Example