Infrared device tested to detect melanoma early