distance function and operator overload

- add distance function in toolkit module
- overload +,-,* operators in xnode module, for only x and u attributes