Reduce code duplication using macros
Add size related methods
Add method to access a segment<3> of a vector