fixed naming pClamp -> Clampex and cleaned up some unused functions