This computes the deviation of quadratic nodes from the corresponding linear edge. Consider a triangle made up of 3 nodes: the deviation is the ratio of the altitude (the shortest line connecting the midside node to the base) with the base (the two linear nodes). A value of 0 means the midside node is on the linear edge.