implemented changing setpoint, added graphs