Elements should be an array of double*, not double