added more paths to load_scan.
analyse gets the mean and sd and raw values from the images using a set of masks.