Numerical Recipes Example Book (C).