Using Built-in Functions to Create ndarrays