fix bug in matrix operator=

We were accidentally grabbing the SEXP from the current object rather
than the other object. Should fix the matrix issue raised in #92