Luigi's revise, start unifying the notations, and so on
my revision
add files to calculate the average
compile with o3