It's pretty obvious what it's doing, honestly. I did skim the entire thing but I don't think you need much more than the beginning and end once you see the point. Which is more or less lampposted by the title.
Ok, what is it doing?
Ok, what is it doing?