added profiler for gcd
Minor changes to new gcd code and profiling code for it.