add debug messages
move semantics for Vector and more useful debugging
fix Vector move
move semantics for API classes
move semantics also for matrix