Development of a next generation imaging, photon counting detector