made the main antialiasing a separate fuction; supersampling is now actually used, improved the documentation