The matrix inverse routine and the sort routines are adapted from Numerical Recipes in C by Press, Flannery, Teukolsky, Vetterling, published by the Cambridge University Press.
Many of the advanced matrix routines are adapted from routines in Handbook for Automatic Computation, Vol II, Linear Algebra by Wilkinson and Reinsch, published by Springer Verlag.