Material reconstruction for spectral computed tomography with detector response function. (3rd October 2016)