Powershell Loop Through Multidimensional Array In C