In-plane calculation added

function inPlaneCalculations added