Decomposition of Singular Matrices into Idempotents