Remove some horrible old code.
Remove an assert define and instead use the static_assert that all compilers provide.
As an added bonus, assert messages\!
Merged pull request #199 from xsacha/oldcode

Remove some horrible old code.