add vector Min and Max methods