Added some code for doing approximations and corrections like Von Luxburg's.