A Transfer Function Model for the Sunspot Cycle