only calculating velocity gradient tangent to edge