add min and max functions to Vector2/3/4
Merge pull request #27 from laszlokorte/min-max

add min and max functions to Vector2/3/4