longitudinal_bigaussian adapted to the new structure