Removing redundant code.
Adding C++ functions to secrfuns.cxx.
Using link scale for parameter estimation with the simple method.