Added saving analysis data

Added functionality where image files are saved to a directory named by
the current date and time after each analysis