added numparts field to model and solved bug in LatentPositives that makes use of it. Replaced th nlogn implementation of the DT with the vl_imdittf.