Changed rdm calculation so it takes a minute or two instead of a day