Press, W. H. ,Teukolsky, S. A. Vetterling, W. T. and Flannery B. P.

Numerical Recipes in FORTRAN/C - 2nd Ed. - Cambridge University Press, 1996