function [ vol ] = exactVol( dim )
%exactVol volume of hypersphere of radius 1 in d dimensions
    vol = pi^(dim/2) / gamma( (dim/2)+1 );
end

