Added function 'clamp' to Util.h