Study of a prototype xenon TPC