Added templates for cross correlation function