some sparse linear algrebra in D