Moved tocloft where other usepackage lines exist.
Added subfigure. (It must be included before tocloft, if ever. If it doesn't exist, there is a build error)