Added a missing include for abs(float).