changed `\begin{center}...\end{center}` to use `\centering` in the `table` and `figure` environments 

The `center` environment gives bad spacing in floats - `centering` makes it better :)