Numerical recipes in C - Press, William H. . (Cambridge University Press, 1993)