rect matrix control