Import scaling functions from Natron

Also add some parameters for the proxy mode