[utils] add hessenberg decomposition

can be removed once scipy/scipy#3364 is fixed.