Numerical techniques for the calculation of multicomponent phase diagrams