n2w function

Scaling function: natural to working parameters.