Coherence Function: Theory and VEE applications