Executing optimized throwing motion on robot arm with free joint. (16th December 2016)