blocks: moving argmax and max to gr-blocks.