Electromagnetic Field Measurements for Side-Channel Analysis -- Efficient Template