Add DP-LDA and some experiment-related scripts.
Fix subtle bug in upcastSegmentation.
Occurred when there were zero-length segments in the target.
Add parser for Contours dataset, and some bug fixes.