Alexander Legg, NICTA and University of New South Wales