Kernel based unfolding of data obtained from detectors with finite resolution and limited acceptance