Powershell Function Not Returning Array From A Function