Got it computing

However, their is a bug if the inner triangles angle goes over 90
degrees. Probably a simple fix, but I'm about ready to call it good on
this project.