Removed \newpage before figures
Fixed reference