ENH: Optimize Cython code. Use scipy blas function pointers.