SMS: Numerical Recipes in C