Modelling dark current and hot pixels in imaging sensors. (February 2020)