Done a bunch of changes to image handling

Mainly moved get camera into its own function in image.c and made dilatometer.c able to access it and made it so dilatometer will pass the rate of change of width (only in pixels atm as its not calibrated)