Clean up tangent space calculation code.

We don't need 6 different ways to calculate tangent vectors.