function [PP] = Translate(P,x0,y0,z0)
% function [PP] = Translate(P,x0,y0,z0)
% Translates a point (x,y,z) into a new point (x+x0,y+y0,z+z0) 
% P - coordinate matrix of an old view, PP = T + P - a new coordinate matrix of a new view

[m,n] = size(P); % m = 3 for all examples
T0 = [ x0; y0; z0 ];
T = T0*ones(1,n);
PP = T + P;