Elementary Mechanics Using Matlab