brick_to_array function

Convert from a RasterBrick to an array