Statistics for Differentiation and localization of targets using infrared sensors