Added vector methods

Signed-off-by: Diwank Singh <diwank.singh@gmail.com>