The new function can deal with a variable number of function parameters. Additionally, I renamed the functions to norm(), because this is the standard name used in several other projects.