fixed stats bug in computing average
added run script
prints out more digits
merge