Added Gaussian Integrals and UnaryFunction support for Java

This patch adds UnaryFunction support to the SWIG Java/Scala in order to enable integrals and root finding. Also the following numerical integration methods have been added: GaussLobattoIntegral, GaussLaguerreIntegration, GaussHermiteIntegration, GaussJacobiIntegration, GaussHyperbolicIntegration, GaussLegendreIntegration, GaussChebyshevIntegration, GaussChebyshev2ndIntegration, GaussGegenbauerIntegration