implemented tangent approximation approach based on matlab code provided by daljit which is basically projecting face vectors onto a given direction vector - which is required as an input vector.