Fitting Convex Sets to Data: Algorithms and Applications