FORTRAN subroutines to analyze and solve linear equations