entropyLocal moved to analysis.py