add elementsType to constructor + update functions for uint32 element arrays
Merge pull request #3 from stackgl/feature/add-elements-type

add elementsType to constructor + update functions for uint32 element arrays