Applied numerical methods in C