Updated Detection Class so that it will an array of past detections
which will be updated and averaged out for each reading.