Fix bug in EC point encoding
Add .gitattributes
Fix line endings