make_training_data bounds fix when seg has no margin
scala malis loss
gradient boosting with malisloss - initial implementation
MalisLoss now looks at subregions
FIX FOR CACHING :D :D :D