\setcounter{secnumdepth}{3}
% Set to 1, suggested by Alexandru
\setcounter{tocdepth}{1}
% This is so that we can fit the entire TOC on one page
\newgeometry{height=22cm, a4paper, hmargin={2in, 0.25in}, vmargin={1in, 1.65cm}}
% Curcial for the bottom margin to remain 1.65 cm
\thispagestyle{empty}
{\small\tableofcontents}
\restoregeometry
%\listoffigures
%\listoftables

% Restores to normal numbers.
\pagenumbering{arabic}
