handle correlated error in mswd calculation
Merge branch 'release/2.0.2' into develop