Merge pull request #5 from soloman817/master

Remove Reduce.fs from NormalDistribution project.
debugging and extending scan
new interface
Merge remote-tracking branch 'upstream/master'
fixed life time problem of scan arrays
refactored scan and reduce with a builder to remove duplicated code
Merge pull request #6 from degloff/master

new generic version of scan and reduce