Function to create an NSArray with the results of calling a block on every object from an existing NSArray.