Numerical recipes example book (C++) - Vetterling, William T. (Cambridge University, 2002)