WIP - yDegree calculation