Converted Math classes to templates
Updated api and engine to use float versions of new template-based
SpoutMath classes.