her body 's internal thermostat could n't seem to decide between freezing cold and overheated , leaving her racked with alternating shivers and waves of perspiration beading on her brow and the back of her neck .