Updated the Hermite functions to correctly include omega.