Update clamping.py

added/fixed *__xx__* methods