nnls function

Least Squares and Quadratic Programming under Nonnegativity Constraints