use function for year->congress conversion rather than lookup

Instead of a lookup table that will have to be updated in 2015, use a function to calculate the congress for a year.