main() function added
Primitives changed to ROOT's replacements
Script geoptlab.sh fixed
Some errors and typos in TOptDev have been fixed