Added a constructor that works with a double array