Analysis of a pull-out test with real specimen geometry. Part I: matrix droplet in the shape of a spherical segment