ENH/FIX: ensure 2D array
TST: check for 1 and 2D issuesss
TST: add test for xcorr inds functions
TST: use correct type
FIX/TST: use correct assertion
CLN: remove whitespace