Fixed bug in cross correlation to use lists. appen -> append