Powershell Script Loop Through Array Matlab Function