-Wall
fix nHits
fix computeChi2
minor updates
add simulation plots
avoid copying when possibile
merge