Converted Math classes to templates

Signed-off-by: Wolf480pl <wolf480@interia.pl>
Updated api and engine to use float versions of new template-based
SpoutMath classes.

Signed-off-by: Wolf480pl <wolf480@interia.pl>