Fixed the GPRINT line, it printed the avarage of all measurements rather then the current measurement!