Powershell Function Not Returning Array From Function