updated getDriveMatrix for RFmodulator