% Normalizes a matrix in the [0,1] range
function b = normalize2(a)
	minimum = min(min(a));
	maximum = max(max(a));
	b = (a - minimum) / (maximum-minimum);

