Changed back error in q0 to 0 in lqg_class