$ 0 0 A fine Matthew Phelps century gave New South Wales hope of avoiding defeat against Western Australia as they finished the third day at 3 for 235