bestOrient.m

This function is responsible for looking at the initial and final
movement position and calculating the total displacement between arm
angles for a travel path. The smallest displacement is determined and
indicated as an output.