MathGL 2.2 - upgrade

Upgrading mathgl to version 2.2 (it also fixes some breakage with GSL and libstdc++ that were in 2.1)