Fixed energy functions to use the point format the template uses