Add constructor for a given GridFunctionSpace and dense vector