added signal addition to code. works :)
Added templates for cross correlation function