Oracle Stored Procedure Loop Through Array Matlab