NSW swings from deficit to surplus