opposite vector calculation