added minimization without restarts
minor
refitting theta with given precision matrix