Some changes.
Completed semantic check for function.
geo