Add hierarchical indexes for longitudinal df

Fix #10