A library of Fortran 77 subroutines for linear algebra