function points = conpoints
%this function generates four known points and four
%random points in 2d

%these are the four known points
%in matrix format
M = [];

M = [M; -25 25; -25 -25; 25 -25; 25 25];

q = []; %q is defined, and changed to random 4x2 matrix
		%M is added into q matrix

q = [q; rand([4,2]); M];

p = 0;		%variable p is defined

p = addindex(q); %p is used to add index onto q

points = p;




































