Added scalar check
Removed noise generation. Now uses GLM noise.