Add a constructor of vector with double arguments