[BUG] fix scipy.linalg.hessenberg

do not permute the input matrix. fixes #3364.
[TST] linalg.hessenberg: add unit test

add the example from #3364 as unit test.
Merge pull request #3497 from andrenarchy/fix-hessenberg

[BUG] fix scipy.linalg.hessenberg