A mode-switching controller with initial value compensation for hard disk drive servo control