Added method for finding max in double [][]