Upshur County man sentenced to 20 years in cattle theft