added ir2d, the inverse of d2ir, with some documentation. Switched encoding in two declarations

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/geo@62 edb9625f-4e0d-4859-8d74-9fd3b1da38cb