gcc is complaining about using double version of fabs() for float values. 
According to the C++ standard it should pick the float version. 
This might be cause due to a math.h header mess I was not able to resolve without producing other warnings. 
So this is actually a just working short cut fix. 
I would be happy If we can get rid of this.