BLAS optimization added