Fixed pure Python version of the correlograms by porting from the latest Cython version.