block function

Block units into homogeneous experimental blocks