Numerical recipes in C++ the art of scientific computing - Press, William H. (Cambridge University Press, 2002)