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

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