Matlab Check If All Elements Are Equal