% Initialise AMS maths package
\usepackage{amsmath}
\interdisplaylinepenalty=2500
%\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{array}
%\usepackage{subfig}
%\usepackage{latexsym}
\thinlines
\setlength{\unitlength}{1mm}

\newcommand{\etc}{{\it etc.\/}}
\newcommand{\define}[1]{\/{\it #1}}
\newcommand{\etal}{{\it et al.\/} }
\newcommand{\ie}{{\it i.e.\/} }
\newcommand{\eg}{{\it e.g.\/} }
\def\setsep{:}					% set separator eg {a : a<n }
\def\N{\mathord{{\mathbb N}}}			% Natural numbers
\def\Z{\mathord{{\mathbb Z}}}			% Integers
\def\Q{\mathord{{\mathbb Q}}}			% Rationals
\def\R{\mathord{{\mathbb R}}}			% Reals
\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}
\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
\def\ave{\mathop{\rm ave}\nolimits}		% memory set