Topological Matrix Model