LOD working, python script for offline variance calculation ( much much faster )