Map Object To Array Python Initialize Matrix