updated rd_saveAllFigs.m