Implement translation into BLAS calls