jython version of segmentNuclei pipeline. Fixed error in segment_particles.java