Updated analysis script so it prints more information in a better format and calculates averages correctly (floating point)