def max opts={}
          if opts[:vector]
            row[*self[opts[:vector]].max_index.index.to_a]
          else
            compute_stats :max
          end
        end
Calculate the maximum value of each numeric vector.