Fix sign error in autocorrelation function

Commit de671fb32849967f351f6f2bacd0e4984df8594f reveled an error in
computing the template from hplus and hcross.