A self-contained Fortran linear equation solver