Fix for mathhelpers.h