Update .gitignore

Added rules for ignoring Eclipse projects
Update .gitignore
Add single axis change for translations

Spatials can now be translated in only one axis if required or any
combination of axes rather than all three. This was less messy to me
than getting the translation and feeding those values back in.