Added Error definition for norm function.