Fix extraction of profiling data (the max was actually the min). Also typos. 
Fix extraction of profiling data (the max was actually the min). Also typos. 
bsalimi/myria,jamesmarva/myria,uwescience/myria,bsalimi/myria,uwescience/myria,bsalimi/myria,uwescience/myria,jamesmarva/myria,jamesmarva/myria