Python script used to verify and visualize biorthogonalization subroutine