Changed TrellisVector so that it doesn't contain pointers.