Fixed a bug in resizing matrices when replacing a subset.
More tests
Released version 0.8.0