The code you should be editing is called calc-surface.main.c which is in:
I would also be careful about some other scripts or sub-routines that this program calls. Most of the scripts are usually in the same dir. All the programs are in one of these three:
src-prog, src-pro2 and src-pro3.