Hamilton-Jacobi Theory and Information Geometry