Added a function to change both motor values.