Copyright (c) C.R.Wie, SUNY-Buffalo, 1998-2000.