add a function to decompress a chunk into an ndarray
use two buffers during factorize
some more tweaks
better _to_ndarray
adding length to chunk class
use the klib hashtable