%  INTERNAL FUNCTION
% 
%  Note:
%       At present the restrictions are enforced only in the violating periods,
%       which implies that the contemporaneous shocks are altered. But one can
%       think of a scheme whereby only future shocks are changed, keeping the
%       original/actual shocks unchanged.
% 
%