Numpy Loop Through Array Powershell If Condition