Updated the dihedral calculation to correctly produce the signed dihedral angle
Updated the .gitignore to ignore temporary files produced by vim.