Added tangent calculation

Added tangent calculation to your project. :)
I've updated the line endings for all of the files and added a `.gitattributes`, so if you could rebase those changes on yours that would make merging the PR a lot easier. Thanks.