Added localized-analysis.py, which deprecates analysis.py because of memory limitations