matrixBlockPolish.matrix function

Applies a polishing function to blocks of rows and columns repeatedly