added a small function that computes the lagrange points using fzero