Added more statistics
Renamed state.py to analyze.py