added ktol and newtontol to options and lp structure, works for 1-d