Archie Miller to earn average of $3.35 million annually on eight-year contract