I want to make a list where each element corresponds to a row in a matrix. If all the values in a row are positive, the list\'s element would be set to 1, but if there is a