Ex-champion Catriona Matthew was delighted to make her first birdie of the week on her final hole at St Andrews in her last ever Women's Open.