added functionality to do spec-im cross-correlation