added lsqnonneg