Fixed compilation bug.

Also, renamed foo() to main() in sas13Fig1Example.cpp since right now stx_analysis.C requires that main() exists and sets it to be the app's entry point.