MaxInMatrix compiles