Former Australia captain Ricky Ponting has signed off his final first class innings with a century for Surrey against Nottinghamshire.