seed for random number generator for masks printed so that unit test failures can be recreated
fix for GCC compiler bug in extract does not work on icc so both versions of code are now wrapped in #ifdef