Added calculation of tangent vectors.

Added MathHelper class for math stuff