Removed linux warning
Legend: Fixed legend numbers being completely wrong.
The abs() function is only integer on linux RH5.
Caused legend numbers to be truncated (0 typically)