Manipulate linear functions