Constructor from double array added