Numerical recipes example book ( C++ ) - William T. Vetterling ... [et al.] (Cambridge Univ. Press, 2002)