Jacques Kallis admitted scoring a century and sealing a series victory over India was the perfect way to retire from Test cricket.