Update Array2D.hpp

* Removed the unique_ptr to double[] data
* TODO: correct the rest of the code