Many of these programs use code from Numerical Recipes in C, by Press, Teukolsky, Vetterling and Flannery, Cambridge University Press.