Computing both row and col profile and checking whether the blocks are
in Hessenberg form