add code for gerschgorin function