Updating: adding some matrix-copying functions