Changed SpecializedClampedRamps to produce a single if stmt, rather than multiple nested stmts.