Updated validation figure creation to be a function. Added sample image.