How do I make a matrix radio buttons to meet a certain condition?