CRA-708: Fixed unexpected writing of prior correlations.
Merge branch 'CRA-708' into CRA-505
Merge pull request #126 from RagnarHauge/CRA-505

Cra 505 Fixed wrong writing of prior correlation files in CRA-708, case 3 now runs fine.