support for leap years

Calendar literally unusable without leap years.
I deleted the hard coded days, because they aren't currently used with the fix.