Create this AABB from an array
AABB fromArray(List<double> array) { for(int i = 0; i < array.length; i++){ elements[i] = array[i]; } return this; }