improvements to take, drop, slit
cabal wibbles
fix allocation size for arrays of C types