added rd_simQamar2.m