Preassessor fixes and test
making it work with variable reusal
Merge pull request #214 from matfed/master

Fixing preassessor