Added him and ipsen for directed graphs and correct t(adj) for sparse matrices