Completely fix DoS

This should fix #198.

I moved all of the protection against DoS attacks into the scientific package (note that scientific-0.3 also gained a dependency on [arithmoi](http://hackage.haskell.org/package/arithmoi) which I need to perform fast integer logarithms).