Numerical Recipes Example Book (C) (Cambridge University Press, 1988)