experiments with locking
each thread writes its own power consuption array, merging them at the end before displaying
fixed pdf-output
can now specify number of data points using -b
Merge branch 'master' of github.com:terjr/thesis