Finished GridFunction constructor