Initial commit of compute_stats.py