Added coordinate vector class. Also some comments