Numerical recipes in C the art of scientific computing - Press, William H.; Flannery, Brian P.; Teukolsky, Saul A. 1947- (Saul Arno); Vetterling, William T. (Cambridge University Press, 1988)