Add a line search functionality to PinvNMF