Fixed typo in maskAndInterpNan().
Make random number generation in fringe code deterministic
Merge branch 'u/jbosch/DM-695'