refactored so that now it works also with dynamic allocation in runtime. added a eo_vector_Delete()