Init perm rewrite

fixes #1321 
@cogmission this is probably the reason your compatibility test fails - use NupicRandom as random and don't change these values and you should be fine.