optimizations for leve1 and level2 blas functions

optimizations for leve1 and level2 blas functions