Fixed inheratance in vector implementation
Added some geometrical features