Change vertex indexing to matlab style with end index functionality.