Fixed Math function declarations; must be inline.