Updating vector logic

- vector some vector functions are now fixed