update Max and Min functions so that comparing a number with undefined will return the number
Merge pull request #1 from mindywhitsitt/master

update Max and Min functions so that comparing a number with undefined w...