Added getPressureGroup function

spelt a lot of time figuring out MySQL syntax. Stupid apostrophes.