Fixed mechanics issues w/ immutable matrix

Pretty simple fixes, really just doing things the proper way now. However,
Vector and Dyadic both had their simplfiy method changed from being an in-place
modification to now returning the simplified Vector or Dyadic.
Merge pull request #48 from gilbertgede/matrix_hash_mechfix

Fixed mechanics issues w/ immutable matrix