Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
pow() is expensive and abs() is redundand. pow(abs(x),2) equals x*x