Algorithm for Diagonalization of Large Matrices | Synapse