Calculate normals and tangets.