Added min, max methods to Vector's classes