Fixed problem with non single species endpoints in convex hull.
Merged bugfix for convex hulls and atom formulas.