Changes one of the driveForward functions to a more general drive function