Powershell Replace Text In Array Python Initialize Matrix