Digital filter and clustering algorithms for improving energy resolution of CdZnTe detectors. (22nd November 2011)