Change the get/set methods to accept both row and column as arguments

Fix `get()` method and `set()` method according to the discussions with Ondrej.
This line is incorrect --- `set` should set the value, not add it to it. So this line should be:
```
x_[k] = e
```