Incomplet commit. Adding getrow and getcol to dok instead of take.