'Return the most recent sample (concatenated observations if needed).'

def last_concat_state(self):

    if self.concat_observations:
        indexes = np.arange((self.top - self.concat_length), self.top)
        return self.observations.take(indexes, axis=0, mode='wrap')
    else:
        return self.observations[(self.top - 1)]
