Modified calculation of day.  The leap year calculation did not account for
years that are divisible by 100 and 400.
The computation of day of the week still does not work for dates prior to the
reference date (Jan 1 1981).