Tiff implementation

The save of tiff files is still under development, but this only affects the CtSaving_Tiff files.
The rest of the files changed are fine.