Added find the smallest value in an array that is greater than a given number.