Modify getRelative()

Make it use clone() and add(Vector) instead of instantiating a new
vector manually.