Specification of direction and extent in motor programming