Hardware accelerator for OIL algorithm