fixes for symbolic links in runset iterator and fixes in rotatedSamples in CascadeTraining and cmake fix for java slicing