function H = entropy(p)
	H = -sum(p.*log2(p));
end
