architecture update

- changed matrix to matrix2
- deleted tiff/fftw/draw
- updated cmake