I have a matrix of 3 columns. For each row, a non-missing value shall be selected, - if no value is found in column 1, column 2 will be searched, then column 3, and the orde