function y=shiftr(x)
% shiftr - shift a column vector down one
% maintaining original length
% eg [ 1 2 3 4 ] --> [ 0 1 2 3 ]
y = [0; x(1:length(x)-1) ];
