fixed bug in extra::hessianSparsity()