Add array2 class
Add spectrum and image types.
Compile with optimization