Runnan's "Numerical Methods in Economics" code