disease progression model & fix t dimension to veritical vector

Bug: when L is generated as vertical vector the optimisation stopped working