Fixing mistakes in ScaLAPACK Schur decomposition wrapper and simplifying python pseudospectral routines