Don't repeat kernel 50 times.
Remove execution of kernel 50 times.
Add separate EMI file.
Add in EMI includes.