Buffer Constructor API change
Buffer now takes the number of elements instead of the number of bytes.
This aligns better with Julia's Array constructor.
LocalMemory has been renamed.  It is now parameterized by type and takes
the number of elements instead of the number of bytes