Fix get/setRNGState for gaussian state.

Fixes #8
Merge pull request #31 from timharley/rngstate_serialisation

Fix get/setRNGState for gaussian state.