Revised iam751 linear algebra program, seems to work, both library and testing program