On a computational method for the second fundamental tensor and its application to bifurcation problems