A flexible optimization-based method for synthesizing intent-expressive robot arm motion. (September 2018)