Merge pull request #82 from enesvold/CRA-505

Cra 505, Cra 257
#CRA-664 Bug fix in setup of prior correlations in commondata.cpp