Inflation and scaling

See if you like these 4 functions. If you do I will make the versions that work with empty/directed intervals.