Fixed bug.
Moved command line parsing to lcg and cclamp.