FORTRAN: use BLAS

Use BLAS library for things like inner product.