Change abs() to fabs() for getParameter re #9556

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>