function y = predict(w,t)
% y = predict(w,t)
% w -> weight vector (should be 1+#rows of t)
% t -> input vectors
% y == w_0 + SUM w_i * x_i
t1s = [ones(size(t,1),1) t];
y = t1s * w;
