Updated vertex/polygon code; transform functions almost complete.