Change variable names for consistency
Turn N_RX into a constant c.n_rx and initialize it to c.n_r - 1