Added basic integer addition to template functions