Fix blas and zero-removal algorithm

gg
No idea what's going on here, so I'll just believe you.