Added globalSeed to Examples

Fixes #16
Also contains fixes for initialization of analysis blocks