Changing name from model.py to analysis.py for theta