Changes in velocity may be due to both changes in what two things?