fixed new chem path
fixed linear dependence checking ... now have arguments