Corrected error in utils.RGA