Added pressure data limit enforcement and suboptimal gain macro