Fixed cross correlation to use lists.