Hard to come up with a good name for this. I renamed 1 and 2 to a and b. And I added the following comment:

// "a" refers to the previous angle, and "b" refers to the current  
// They determine the edges of the sides of the cone section.

This is not part of setHeadFromGyros().