add some debug statements and fix percentile
add some debug statements and fix percentile

radio-astro-tools/spectral-cube,jzuhone/spectral-cube,low-sky/spectral-cube,e-koch/spectral-cube,keflavich/spectral-cube