function [PP] = Scale(P,alpha,beta,gamma)
% function [PP] = Scale(P,alpha,beta,gamma)
% Transforms a unit cube (1,1,1) into a scaled cube (alpha,beta,gamma) 
% P - coordinate matrix of an old view, PP = S*P - a new coordinate matrix of a new view

S = [ alpha, 0, 0; 0, beta, 0; 0, 0, gamma];
PP = S*P;