function M = normalise(M)
% Michael Otte
% University of Colorado at Boulder
%
% normalizes a map

mn = min(min(M));

M = M - mn;

M = M .* 1/max(max(M));