Merge pull request #131 from enesvold/CRA-505

CRA-709
#CRA-717 Fixed a bug in the use of the background data in analyzelog.cpp
Merge branch 'CRA-717' into CRA-505