Merge pull request #15 from shamenchens/TreeData-RefineDataStructure

Update tree data structure and rendering
Update memory allocate matrix, only update self in leaf node