Man must pay $40,000 restitution in aggravated battery case