Make getElem more safe, add "unsafeSet", use it it LUDecomp

This is a followup on https://github.com/Daniel-Diaz/matrix/issues/8. I've implemented second choice (I just like it more, you are free to do something else, of course), and have also added unsafe set operations.