added length and normalize methods to vector structs