added angle func to vector