Use BLAS functions in deviance calculations.