changes in eigenmat

- fix bugs
- complete function to perform translations