I changed from doing division to using a lUT. I am still working on filling in the LUT