Fix blas and zero-removal algorithm

gg
OK, that's fine.