Returns a calculated array of a specified row and column size, by applying a LAMBDA