add "online" measurements to naive pion correlator code