add a transform method that translates vectors at an offset within a larger array