A Three-Dimensional Model of the Antarctic Ice Sheet