fixed vector type bug in extra::hessianSparsity()