Fix codestyle in measurements section of code
(trailing whitespaces, 2 spaces instead of tabs and e.t.c)