Powershell Script Loop Through Array Matlab