Added RandomOverhead and RamAccessTime functions. Updated Main