Fixed the meta energy function to use the template's point format