Moved all SMAA code to a class of its own. This will allow easier integration into other projects.
Cleaned up.