Added outliers function to remove invalid pressure data