changed calculate_improvement to give average response time, not improvement
changed calculate_improvement to give average response time, not improvement