Numerical recipes in C.-2nd ed. - Press, William H. (Cambridge University Press, 1997)