Updated API, changed `size` to `dimensions`

There's no `size()` only `dimensions()`, so updated API to reflect this.
Merge pull request #547 from DracoLi/patch-1

Updated API, changed `size` to `dimensions`