Adam Lyth hit his first century of the season to put Yorkshire in a strong position in the LV= County Championship Division One match at Taunton.