added clamp to Math class
renamed calc parts to get