added some parameters in reset function. pH regulation stops when sedimentation is ongoing
removed debugging