Finished. The last calculation took me way longer than it should have due to Wikipedia being stupid. the wikipedia calculation confusing me. Oh well. Anyone want hints??
For those who spent hours on this question without getting the answer, I will add an extra hint to Dylann's post.