Fixed template compilation problems, added Point arithmetic operations and tests for them.