Moved NormFunction interface to Vectors class
Done some refactoring