Added Barrier.h & Clipping Function.