Errors are happening when attempting to use the norm() function stating the template could be the problem.