Check If A Value Exists In An Array Matlab