perf(blas): don't call BLAS routines on zero-sized matrices

closes #14