Initial conversion of most of Math classes to templates.