Calculate Det of Matrix level n