Added cmath to the includes to fix a compile issue on OS X

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>