f90 -> c; added hidden visibility; added other BLAS functions