Add Elements To Array Matlab Function