function theta=symmetric_ext(theta)
% theta=symmetric_ext(theta)
%
% Create the symmetric extension for the packed parameter set theta.
% Symmetric with respect to origo.

theta=[theta fliplr([-theta(1:2,:) ; theta(3:size(theta,1),:)])];