remap values to specific linear functions